import * as elementPlusIcons from '@element-plus/icons-vue'
import type { App } from 'vue'

//全局注册ElementPlus图标
const registerElementPlusIcons = (app: App) => {
  for (const [key, component] of Object.entries(elementPlusIcons)) {
    app.component(key, component)
  }
}

export default registerElementPlusIcons
